package org.xshop.model;

import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import top.ibase4j.core.base.BaseModel;

/**
 * <p>
 * 店铺
 * </p>
 *
 * @author ShenHuaJie
 * @since 2018-03-01
 */
@ApiModel("")
@TableName("t_store")
@SuppressWarnings("serial")
public class TStore extends BaseModel {

    @ApiModelProperty(value = "商家编号")
    @TableField("seller_id")
    private Long sellerId;
    @ApiModelProperty(value = "商铺名称")
    @TableField("store_name")
    private String storeName;
    @ApiModelProperty(value = "商铺图标")
    @TableField("store_icon")
    private String storeIcon;
    @ApiModelProperty(value = "经度")
    @TableField("store_lon")
    private BigDecimal storeLon;
    @ApiModelProperty(value = "纬度")
    @TableField("store_lat")
    private BigDecimal storeLat;
    @ApiModelProperty(value = "商铺电话")
    @TableField("store_phone")
    private String storePhone;
    @ApiModelProperty(value = "商铺地址")
    @TableField("store_address")
    private String storeAddress;
    @ApiModelProperty(value = "音频介绍")
    @TableField("audio_commentary")
    private String audioCommentary;
    @ApiModelProperty(value = "视频介绍")
    @TableField("video_commentary")
    private String videoCommentary;
    @ApiModelProperty(value = "商铺摘要")
    @TableField("store_summary")
    private String storeSummary;
    @ApiModelProperty(value = "商铺详细信息")
    @TableField("store_desc")
    private String storeDesc;
    @ApiModelProperty(value = "商铺图片")
    private String imgs;
    /**
     * 销量
     */
    @TableField("sell_num")
    private BigDecimal sellNum;
    /**
     * 评分
     */
    @TableField("evaluate_score")
    private BigDecimal evaluateScore;
    @TableField("score_count")
    private Long scoreCount;

    @ApiModelProperty(value = "距离")
    @TableField(exist = false)
    private BigDecimal distance;
    @TableField(exist = false)
    private List<TGoods> goods;

    public Long getSellerId() {
        return sellerId;
    }

    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreIcon() {
        return storeIcon;
    }

    public void setStoreIcon(String storeIcon) {
        this.storeIcon = storeIcon;
    }

    public BigDecimal getStoreLon() {
        return storeLon;
    }

    public void setStoreLon(BigDecimal storeLon) {
        this.storeLon = storeLon;
    }

    public BigDecimal getStoreLat() {
        return storeLat;
    }

    public void setStoreLat(BigDecimal storeLat) {
        this.storeLat = storeLat;
    }

    public String getStorePhone() {
        return storePhone;
    }

    public void setStorePhone(String storePhone) {
        this.storePhone = storePhone;
    }

    public String getStoreAddress() {
        return storeAddress;
    }

    public void setStoreAddress(String storeAddress) {
        this.storeAddress = storeAddress;
    }

    public String getAudioCommentary() {
        return audioCommentary;
    }

    public void setAudioCommentary(String audioCommentary) {
        this.audioCommentary = audioCommentary;
    }

    public String getVideoCommentary() {
        return videoCommentary;
    }

    public void setVideoCommentary(String videoCommentary) {
        this.videoCommentary = videoCommentary;
    }

    public String getStoreSummary() {
        return storeSummary;
    }

    public void setStoreSummary(String storeSummary) {
        this.storeSummary = storeSummary;
    }

    public String getStoreDesc() {
        return storeDesc;
    }

    public void setStoreDesc(String storeDesc) {
        this.storeDesc = storeDesc;
    }

    public BigDecimal getDistance() {
        return distance;
    }

    public void setDistance(BigDecimal distance) {
        this.distance = distance;
    }

    public String getImgs() {
        return imgs;
    }

    public void setImgs(String imgs) {
        this.imgs = imgs;
    }

    public BigDecimal getSellNum() {
        return sellNum;
    }

    public void setSellNum(BigDecimal sellNum) {
        this.sellNum = sellNum;
    }

    public BigDecimal getEvaluateScore() {
        return evaluateScore;
    }

    public void setEvaluateScore(BigDecimal evaluateScore) {
        this.evaluateScore = evaluateScore;
    }

    public Long getScoreCount() {
        return scoreCount;
    }

    public void setScoreCount(Long scoreCount) {
        this.scoreCount = scoreCount;
    }

    public List<TGoods> getGoods() {
        return goods;
    }

    public void setGoods(List<TGoods> goods) {
        this.goods = goods;
    }
}